package cc.fine.svc.main.mapper;

import cc.fine.svc.main.bean.po.TblVideo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author wyihe
 * @since 2023-10-25
 */
public interface TblVideoMapper extends BaseMapper<TblVideo> {

    /**
     * 获取fan视频ids，结果按日期倒序
     * @param userId
     * @return
     */
    List<String> selectGetFanVideoIds(@Param("userId") String userId,
                                      @Param("limit1") Integer limit1,
                                      @Param("limit2") Integer limit2);

}
